 <#include "../common/com.html"/> <@layout>

<!-- ace styles -->
<link rel="stylesheet" href="${ctx}/static/assets/css/ace.min.css" />

<!-- ace styles -->
<script type="text/javascript">
/**
 * 办理
 */
function update() {
	var card ='${(card)!}';
	 var	url = '${ctx}/xskd/czje';
		$('#myform').form('submit', {
			url : url,
			onSubmit : function() {
				return $(this).form('validate');
			},
			success : function(data) {
				
				if (data!="0"){
					alert("充值成功！");
					window.location.href = '${ctx}/xskd?card='+data;
				}
			}
		});
}

function reloads(){
	window.location.href = '${ctx}/xskd?card='+${(card)!};
}
</script>
<div class="page-content" style="overflow: hidden">
	<div class="row-fluid">
					<form class="form-inline" id="myform">

				<#list newlist as m>
				<div class="profile-info-row" id="newcard">
					<div class="profile-info-name">请输入充值金额</div>
					<div class="profile-info-value">
					
						<input id="id" name="id" type="hidden" style="min-height: 24px;" value="${(m.id)!}" />
						<input id="yes" name="yes" type="text" class="easyui-numberbox"   style="min-height: 24px;" />
						<input id="ye" name="ye" type="hidden" style="min-height: 24px;" value="${(m.ye)!}" />
						<input id="card" name="card" type="hidden"  style="min-height: 24px;" value="${(m.card)!}" />
						<a class="btn btn-info btn-small" onclick="update()">确定 </a>
				&nbsp; &nbsp;&nbsp;&nbsp; 
						<a class="btn btn-danger btn-small" onclick="reloads()">返回 </a>
				&nbsp; &nbsp;&nbsp;&nbsp; 
					</div>
				</div>
				<div class="profile-info-row">
					<div class="profile-info-name">卡号</div>
					<div class="profile-info-value">
						<span> &nbsp;${(m.card)!}</span>
					</div>
				</div>
				<div class="profile-info-row">
					<div class="profile-info-name">姓名</div>
					<div class="profile-info-value">
						<span id="yhm"> &nbsp;${(m.yhm)!}</span>
					</div>
				</div>
				
					<div class="profile-info-row">
					<div class="profile-info-name">原始金额</div>

					<div class="profile-info-value">
						<span id="ysje">&nbsp;${(m.ysje)!}</span>
					</div>
				</div>

				<div class="profile-info-row">
					<div class="profile-info-name">余额</div>

					<div class="profile-info-value">
						<span id="ye">&nbsp;${(m.ye)!}</span>
					</div>
				</div>

				<div class="profile-info-row">
					<div class="profile-info-name">固定电话</div>

					<div class="profile-info-value">
						<span id="dh">&nbsp;${(m.dh)!}</span>
					</div>
				</div>

				<div class="profile-info-row">
					<div class="profile-info-name">车型</div>

					<div class="profile-info-value">
						<span id="cx">&nbsp;${(m.cx)!}</span>
					</div>
				</div>

				<div class="profile-info-row">
					<div class="profile-info-name">车款</div>

					<div class="profile-info-value">
						<span id="ck">&nbsp;${(m.ck)!}</span>
					</div>
				</div>

				<div class="profile-info-row">
					<div class="profile-info-name">保险日期</div>

					<div class="profile-info-value">
						<span id="bxrq">&nbsp;${(m.bxrq)!}</span>
					</div>
				</div>
				<div class="profile-info-row">
					<div class="profile-info-name">办卡日期</div>

					<div class="profile-info-value">
						<span id="bkrq">&nbsp;${(m.bkrq)!}</span>
					</div>
				</div>
			
			</#list>
			</form>
	</div>	</div>
</body>


</@layout>
